Optimal. Leaf size=321 \[ -\frac {5 \left (b^2-4 a c\right )^4 d^3 \sqrt {b d+2 c d x} \sqrt {a+b x+c x^2}}{8778 c^3}-\frac {\left (b^2-4 a c\right )^3 d (b d+2 c d x)^{5/2} \sqrt {a+b x+c x^2}}{2926 c^3}+\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{9/2} \sqrt {a+b x+c x^2}}{836 c^3 d}-\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{3/2}}{114 c^2 d}+\frac {(b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{5/2}}{19 c d}-\frac {5 \left (b^2-4 a c\right )^{21/4} d^{7/2} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c d x}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{17556 c^4 \sqrt {a+b x+c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 321, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 5, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {699, 706, 705,
703, 227} \begin {gather*} -\frac {5 d^{7/2} \left (b^2-4 a c\right )^{21/4} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\left .\text {ArcSin}\left (\frac {\sqrt {b d+2 c x d}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{17556 c^4 \sqrt {a+b x+c x^2}}-\frac {5 d^3 \left (b^2-4 a c\right )^4 \sqrt {a+b x+c x^2} \sqrt {b d+2 c d x}}{8778 c^3}-\frac {d \left (b^2-4 a c\right )^3 \sqrt {a+b x+c x^2} (b d+2 c d x)^{5/2}}{2926 c^3}+\frac {\left (b^2-4 a c\right )^2 \sqrt {a+b x+c x^2} (b d+2 c d x)^{9/2}}{836 c^3 d}-\frac {\left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{3/2} (b d+2 c d x)^{9/2}}{114 c^2 d}+\frac {\left (a+b x+c x^2\right )^{5/2} (b d+2 c d x)^{9/2}}{19 c d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 227
Rule 699
Rule 703
Rule 705
Rule 706
Rubi steps
\begin {align*} \int (b d+2 c d x)^{7/2} \left (a+b x+c x^2\right )^{5/2} \, dx &=\frac {(b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{5/2}}{19 c d}-\frac {\left (5 \left (b^2-4 a c\right )\right ) \int (b d+2 c d x)^{7/2} \left (a+b x+c x^2\right )^{3/2} \, dx}{38 c}\\ &=-\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{3/2}}{114 c^2 d}+\frac {(b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{5/2}}{19 c d}+\frac {\left (b^2-4 a c\right )^2 \int (b d+2 c d x)^{7/2} \sqrt {a+b x+c x^2} \, dx}{76 c^2}\\ &=\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{9/2} \sqrt {a+b x+c x^2}}{836 c^3 d}-\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{3/2}}{114 c^2 d}+\frac {(b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{5/2}}{19 c d}-\frac {\left (b^2-4 a c\right )^3 \int \frac {(b d+2 c d x)^{7/2}}{\sqrt {a+b x+c x^2}} \, dx}{1672 c^3}\\ &=-\frac {\left (b^2-4 a c\right )^3 d (b d+2 c d x)^{5/2} \sqrt {a+b x+c x^2}}{2926 c^3}+\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{9/2} \sqrt {a+b x+c x^2}}{836 c^3 d}-\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{3/2}}{114 c^2 d}+\frac {(b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{5/2}}{19 c d}-\frac {\left (5 \left (b^2-4 a c\right )^4 d^2\right ) \int \frac {(b d+2 c d x)^{3/2}}{\sqrt {a+b x+c x^2}} \, dx}{11704 c^3}\\ &=-\frac {5 \left (b^2-4 a c\right )^4 d^3 \sqrt {b d+2 c d x} \sqrt {a+b x+c x^2}}{8778 c^3}-\frac {\left (b^2-4 a c\right )^3 d (b d+2 c d x)^{5/2} \sqrt {a+b x+c x^2}}{2926 c^3}+\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{9/2} \sqrt {a+b x+c x^2}}{836 c^3 d}-\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{3/2}}{114 c^2 d}+\frac {(b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{5/2}}{19 c d}-\frac {\left (5 \left (b^2-4 a c\right )^5 d^4\right ) \int \frac {1}{\sqrt {b d+2 c d x} \sqrt {a+b x+c x^2}} \, dx}{35112 c^3}\\ &=-\frac {5 \left (b^2-4 a c\right )^4 d^3 \sqrt {b d+2 c d x} \sqrt {a+b x+c x^2}}{8778 c^3}-\frac {\left (b^2-4 a c\right )^3 d (b d+2 c d x)^{5/2} \sqrt {a+b x+c x^2}}{2926 c^3}+\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{9/2} \sqrt {a+b x+c x^2}}{836 c^3 d}-\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{3/2}}{114 c^2 d}+\frac {(b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{5/2}}{19 c d}-\frac {\left (5 \left (b^2-4 a c\right )^5 d^4 \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \int \frac {1}{\sqrt {b d+2 c d x} \sqrt {-\frac {a c}{b^2-4 a c}-\frac {b c x}{b^2-4 a c}-\frac {c^2 x^2}{b^2-4 a c}}} \, dx}{35112 c^3 \sqrt {a+b x+c x^2}}\\ &=-\frac {5 \left (b^2-4 a c\right )^4 d^3 \sqrt {b d+2 c d x} \sqrt {a+b x+c x^2}}{8778 c^3}-\frac {\left (b^2-4 a c\right )^3 d (b d+2 c d x)^{5/2} \sqrt {a+b x+c x^2}}{2926 c^3}+\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{9/2} \sqrt {a+b x+c x^2}}{836 c^3 d}-\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{3/2}}{114 c^2 d}+\frac {(b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{5/2}}{19 c d}-\frac {\left (5 \left (b^2-4 a c\right )^5 d^3 \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^4}{\left (b^2-4 a c\right ) d^2}}} \, dx,x,\sqrt {b d+2 c d x}\right )}{17556 c^4 \sqrt {a+b x+c x^2}}\\ &=-\frac {5 \left (b^2-4 a c\right )^4 d^3 \sqrt {b d+2 c d x} \sqrt {a+b x+c x^2}}{8778 c^3}-\frac {\left (b^2-4 a c\right )^3 d (b d+2 c d x)^{5/2} \sqrt {a+b x+c x^2}}{2926 c^3}+\frac {\left (b^2-4 a c\right )^2 (b d+2 c d x)^{9/2} \sqrt {a+b x+c x^2}}{836 c^3 d}-\frac {\left (b^2-4 a c\right ) (b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{3/2}}{114 c^2 d}+\frac {(b d+2 c d x)^{9/2} \left (a+b x+c x^2\right )^{5/2}}{19 c d}-\frac {5 \left (b^2-4 a c\right )^{21/4} d^{7/2} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {b d+2 c d x}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\right |-1\right )}{17556 c^4 \sqrt {a+b x+c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.28, size = 161, normalized size = 0.50 \begin {gather*} \frac {4 (d (b+2 c x))^{7/2} \sqrt {a+x (b+c x)} \left (3 (b+2 c x)^2 (a+x (b+c x))^3-2 \left (a-\frac {b^2}{4 c}\right ) c \left (2 (a+x (b+c x))^3+\frac {\left (b^2-4 a c\right )^3 \, _2F_1\left (-\frac {5}{2},\frac {1}{4};\frac {5}{4};\frac {(b+2 c x)^2}{b^2-4 a c}\right )}{64 c^3 \sqrt {\frac {c (a+x (b+c x))}{-b^2+4 a c}}}\right )\right )}{57 (b+2 c x)^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1343\) vs.
\(2(275)=550\).
time = 0.80, size = 1344, normalized size = 4.19 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.81, size = 404, normalized size = 1.26 \begin {gather*} -\frac {5 \, \sqrt {2} {\left (b^{10} - 20 \, a b^{8} c + 160 \, a^{2} b^{6} c^{2} - 640 \, a^{3} b^{4} c^{3} + 1280 \, a^{4} b^{2} c^{4} - 1024 \, a^{5} c^{5}\right )} \sqrt {c^{2} d} d^{3} {\rm weierstrassPInverse}\left (\frac {b^{2} - 4 \, a c}{c^{2}}, 0, \frac {2 \, c x + b}{2 \, c}\right ) - 2 \, {\left (14784 \, c^{10} d^{3} x^{8} + 59136 \, b c^{9} d^{3} x^{7} + 4928 \, {\left (19 \, b^{2} c^{8} + 8 \, a c^{9}\right )} d^{3} x^{6} + 14784 \, {\left (5 \, b^{3} c^{7} + 8 \, a b c^{8}\right )} d^{3} x^{5} + 28 \, {\left (1057 \, b^{4} c^{6} + 4744 \, a b^{2} c^{7} + 1072 \, a^{2} c^{8}\right )} d^{3} x^{4} + 56 \, {\left (89 \, b^{5} c^{5} + 1224 \, a b^{3} c^{6} + 1072 \, a^{2} b c^{7}\right )} d^{3} x^{3} + 6 \, {\left (3 \, b^{6} c^{4} + 2456 \, a b^{4} c^{5} + 7312 \, a^{2} b^{2} c^{6} + 256 \, a^{3} c^{7}\right )} d^{3} x^{2} - 2 \, {\left (5 \, b^{7} c^{3} - 88 \, a b^{5} c^{4} - 6928 \, a^{2} b^{3} c^{5} - 768 \, a^{3} b c^{6}\right )} d^{3} x + {\left (5 \, b^{8} c^{2} - 90 \, a b^{6} c^{3} + 628 \, a^{2} b^{4} c^{4} + 2944 \, a^{3} b^{2} c^{5} - 2560 \, a^{4} c^{6}\right )} d^{3}\right )} \sqrt {2 \, c d x + b d} \sqrt {c x^{2} + b x + a}}{35112 \, c^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (d \left (b + 2 c x\right )\right )^{\frac {7}{2}} \left (a + b x + c x^{2}\right )^{\frac {5}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (b\,d+2\,c\,d\,x\right )}^{7/2}\,{\left (c\,x^2+b\,x+a\right )}^{5/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________